package com.easyjava.qingke.memo.mybatis.pojo;

public class MemoLabel {
    private Integer id;

    private Integer memoContentId;

    private Integer labelId;
    
    private MemoContent memoContent;
    
    private Label label;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemoContentId() {
        return memoContentId;
    }

    public void setMemoContentId(Integer memoContentId) {
        this.memoContentId = memoContentId;
    }

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }

	public MemoContent getMemoContent() {
		return memoContent;
	}

	public void setMemoContent(MemoContent memoContent) {
		this.memoContent = memoContent;
	}

	public Label getLabel() {
		return label;
	}

	public void setLabel(Label label) {
		this.label = label;
	}

	@Override
	public String toString() {
		return "MemoLabel [id=" + id + ", memoContentId=" + memoContentId + ",title="+memoContent.getTitle()+",content="+memoContent.getContent()+
	",createTime="+memoContent.getCreateTime()+", labelId=" + labelId +",name="+label.getName()+ "]";
	}
    
}